﻿
#ifndef ROS_SUPPORT_BASE_H
#define ROS_SUPPORT_BASE_H

#include "spadas.h"

namespace spadas
{
    class RosFileIOWriteMessageObject : public Object<class RosFileIOWriteMessageObjectVars>
    {
    public:
        SPADAS_TYPE("spadas.RosFileIOWriteMessageObject");
        RosFileIOWriteMessageObject();
        String getFileName();
        void setFileName(String val);
        Double getTime();
        void setTime(Double val);
        String getTopic();
        void setTopic(String val);
        String getDataType();
        void setDataType(String val);
        String getMD5Sum();
        void setMD5Sum(String val);
        String getDefinition();
        void setDefinition(String val);
        Binary getBinaryData();
        void setBinaryData(Binary val);
        Bool getWriteToGeneration();
        void setWriteToGeneration(Bool val);
    };

    struct RosFileIOReadMessage
    {
        Double time;
        Binary binaryData;
    };

    class RosFileIORegisterReadStreamObject : public Object<class RosFileIORegisterReadStreamObjectVars>
    {
    public:
        SPADAS_TYPE("spadas.RosFileIORegisterReadStreamObject");
        RosFileIORegisterReadStreamObject();
        Bool getReadFromGeneration();
        void setReadFromGeneration(Bool val);
        String getFileName();
        void setFileName(String val);
        String getTopic();
        void setTopic(String val);
        Stream<RosFileIOReadMessage> getReadStream();
        void setReadStream(Stream<RosFileIOReadMessage> val);
    };
}

#endif